@import "function";

body{
  @include  max-screen(414px){
    min-width: initial;
    font-size: 14px;
    #header{
      .aui-header{
        padding-bottom: 10px;
        .aui-header-secondary{
          .aui-nav{
            float: left;
            width: 100%;
            li{
              &:nth-of-type(2n){
                float: right;
              }
              &:nth-of-type(3n){
                float: right;
              }
            }
          }
        }
      }

    }
    #content{
      .aui-sidebar{
        position: absolute;
        left:0;
        top:0;
//      display: none;
				width:125px;
				.aui-sidebar-wrapper{
					height:auto!important;
					border-right:1px solid #ddd;
					width:125px;
					.aui-page-header{
						width:auto;
						margin-right:0;
						.aui-page-header-main{
							padding-left:42px;
							padding-top:0;
						}
					}
				}
      }
      #box{
        .content{
          position: relative;
          .main_left{
            position: absolute;
            z-index: 1;
            padding-left: 0;
//          display: none;
						left:123px;
						top:0;
						overflow: auto;
            .aui-sidebar{
            	position: static;
            }
          	.aui-sidebar-wrapper{
          		border-right: 0;
          		width:170px!important;
          	}
          }
          .main_right{
            width: 100%;
            float: none;
            background: #fff;
            .table_setup{
              width: 100%;
              overflow-x: auto;
              overflow-y: hidden;
              border: 1px solid #dddddd;
              margin: 10px 0 !important;
              th,td{
                min-width: 80px;
              }
            }
            .themassage{
            	.right{
            		width:100%;
            		overflow-x: auto;
            		.massage_con{
		        			.style1{
		        				margin:10px auto!important; 
		        				width:100%!important;          			
		        			}
            		}
            	}
            }
          }
        }
      }
    }
    .aui-header .aui-quicksearch input[type=text]{
    	width:140px;
    }
  };
  @include ipad{
    min-width: initial;
    font-size: 16px;
 }

}
